StackEx

Ecng.Collections

Extends the Stack class to explicitly implement the ICollection interface.

Erbt von: Stack<T>

Implementiert: ICollection<T>, IEnumerable<T>, IEnumerable

Eigenschaften

System#Collections#Generic#ICollection{T}#IsReadOnly

Gets a value indicating whether the stack is read-only.

Methoden

System#Collections#Generic#ICollection{T}#Add(T)

Adds an item to the top of the stack.

item
The item to add.
System#Collections#Generic#ICollection{T}#Remove(T)

Attempts to remove a specific item from the stack. This operation is not supported.

item
The item to remove.

Rückgabe: Always throws NotSupportedException.